![]() | ![]() | ![]() | ![]() | ![]() |
Doing a query in SAS 9.1.3 against a Microsoft SQL Server table using SAS/ACCESS® Interface to Microsoft SQL Server returns correct results. SAS/ACCESS Interface to Microsoft SQL Server in SAS 9.2 passes a substring function, which returns an incorrect result. Using the LIBNAME option DIRECT_SQL=NOWHERE does not have an effect on the results. The following code produces different results between SAS 9.1.3 and SAS 9.2.
SAS 9.1.3 generates the following code:
SAS 9.2 generates this code:
The workaround is to change the format as follows:
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/ACCESS Interface to Microsoft SQL Server | 64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M0 | ||
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M0 | ||
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M0 | ||
Linux | 9.2 TS2M3 | 9.3 TS1M0 | ||
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Solaris for x64 | 9.2 TS2M3 | 9.3 TS1M0 |